Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API BREAK] Fix ECDSA message hashes to 32 bytes #150

Merged
merged 1 commit into from
Dec 11, 2014

Conversation

sipa
Copy link
Contributor

@sipa sipa commented Dec 9, 2014

The message is assumed to be already hashed anyway, and it already can't be more than 32 bytes. Fixing it to a single size simplifies the code and the API.

@gmaxwell
Copy link
Contributor

gmaxwell commented Dec 9, 2014

Good. I was thinking of at least clarifying the description that the message must be a hash. Fixing the length makes it slightly less foot-gunny. I'll review/test.

@gmaxwell
Copy link
Contributor

ACK.

@sipa sipa merged commit cf7b2b4 into bitcoin-core:master Dec 11, 2014
sipa added a commit that referenced this pull request Dec 11, 2014
cf7b2b4 Fix ECDSA message hashes to 32 bytes (Pieter Wuille)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants